factorial : (int -> int) = x =>
  if x == 0
  then 1
  else x * factorial (x - 1)

factorial 30
